import {Get, Post} from "@/decorator/Request";

/**
 * Api基类
 * @author zzhijie
 * @date 2021-04-26
 */
export class BasicApi {

  getPath(path) {
    let {basePath = ""} = this;
    return basePath + path;
  }

  @Get
  listPage() {

  };

  @Get
  listAll() {
  };

  @Post
  add() {
  };

  @Post
  deleteById() {
  };

  @Post
  updateById() {
  };
}
